cmake_minimum_required(VERSION 3.12)
project(untitled)
# set(CMAKE_BUILD_TYPE release)
set(CMAKE_BUILD_TYPE debug)
set(CMAKE_PREFIX_PATH "C:/Users/xd15zhn/Documents/cpplibraries")

set(PROJECT_SOURCES
    # ${PROJECT_SOURCE_DIR}/main.cpp
    ${PROJECT_SOURCE_DIR}/test.cpp
    ${PROJECT_SOURCE_DIR}/src/utils.cpp
)

add_executable(${PROJECT_NAME} ${PROJECT_SOURCES})

find_package(zhnmat REQUIRED)
message(STATUS "zhnmat_VERSION: ${zhnmat_VERSION}")
message(STATUS "zhnmat_DIR: ${zhnmat_DIR}")
message(STATUS "zhnmat_LIBS: ${zhnmat_LIBS}")
message(STATUS "zhnmat_INCLUDE_DIRS: ${zhnmat_INCLUDE_DIRS}")
target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC ${zhnmat_LIBS})
target_include_directories(${CMAKE_PROJECT_NAME} PUBLIC
    ${zhnmat_INCLUDE_DIRS}
    ${PROJECT_SOURCE_DIR}/src
)
